package com.danbay.cloud.auth;

import com.danbay.framework.db.config.EnableDruid;
import com.danbay.framework.db.config.EnableMybatisPlus;
import com.danbay.framework.springnc.EnableNoController;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;

/**
 * @author SJG
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableOAuth2Client
@EnableNoController
@EnableDruid
@EnableMybatisPlus
@MapperScan("com.danbay.cloud.auth.mapper")
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }

}
